package cn.fayang.ymcc.feing;

import cn.fayang.ymcc.domain.MessageStation;
import cn.fayang.ymcc.result.JSONResult;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;


@FeignClient(value = "service-common",fallbackFactory = StationMessageFeignClientFallBackFactory.class)
public interface StationMessageFeingCilent {
    @RequestMapping(value="/save",method= RequestMethod.POST)
    JSONResult saveOrUpdate(@RequestBody MessageStation messageStation);
}
